#include<stdio.h>
#include "file.h"
int main(int argc, char const *argv[])
{
	printf("开始写入文件:\n");
	FILE * f=fopen("data.txt","w");
	//字符写入函数
	fputc('A',f);
	//字符串写入函数
	fputs("c write write",f);
	fclose(f);
	printf("文件写入完成:\n");
   	readFile();


	return 0;
}